// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   TaskSet.java

package com.tool.ModerateTask;


public class TaskSet
{

	private int taskSetID;
	private String taskType;
	private int sumcycle;
	private int sumlimit;
	private int sumreceive;
	private int resetcycle;
	private int taskMsgID;
	private String taskMsg;

	public TaskSet()
	{
	}

	public double XSReward(int ComSum)
	{
		if (sumcycle == 0) {
            ComSum = 0;
        } else {
            ComSum %= sumcycle;
        }
		double xs = 1.0D;
		xs += 0.050000000000000003D * (double)ComSum;
		return xs;
	}

	public int getTaskSetID()
	{
		return taskSetID;
	}

	public void setTaskSetID(int taskSetID)
	{
		this.taskSetID = taskSetID;
	}

	public String getTaskType()
	{
		return taskType;
	}

	public void setTaskType(String taskType)
	{
		this.taskType = taskType;
	}

	public int getSumcycle()
	{
		return sumcycle;
	}

	public void setSumcycle(int sumcycle)
	{
		this.sumcycle = sumcycle;
	}

	public int getSumlimit()
	{
		return sumlimit;
	}

	public void setSumlimit(int sumlimit)
	{
		this.sumlimit = sumlimit;
	}

	public int getSumreceive()
	{
		return sumreceive;
	}

	public void setSumreceive(int sumreceive)
	{
		this.sumreceive = sumreceive;
	}

	public int getResetcycle()
	{
		return resetcycle;
	}

	public void setResetcycle(int resetcycle)
	{
		this.resetcycle = resetcycle;
	}

	public int getTaskMsgID()
	{
		return taskMsgID;
	}

	public void setTaskMsgID(int taskMsgID)
	{
		this.taskMsgID = taskMsgID;
	}

	public String getTaskMsg()
	{
		return taskMsg;
	}

	public void setTaskMsg(String taskMsg)
	{
		this.taskMsg = taskMsg;
	}
}
